<p slot="index"
   slot-scope="text, record, index"
   style="margin: 0">
    @{{index+1}}
</p>
<div slot="role" slot-scope="text, record">
    <p v-for="role_id in record.role_group">
        @{{ RoleObject[role_id] }}
    </p>
</div>
<span slot="password" slot-scope="text, record">
    <span v-if="record.show_password">
        @{{ record.password }}
        <a href="javascript:" @click="record.show_password = false">隐藏</a>
    </span>
    <span v-else>
        <a href="javascript:" @click="$set(record, 'show_password', true)">显示</a>
    </span>
{{--    <a href="javascript:" @click="handleModifyReviewerPassword(record)">修改</a>--}}
</span>
<p slot="time"
   slot-scope="text, record"
   style="margin: 0">
    创建时间：@{{record.created_at}}<br>
    最近修改：@{{record.updated_at}}
</p>
<p slot="status"
   slot-scope="text, record"
   style="margin: 0">
    <span v-if="record.status == '正常'">
    启用
    </span>
    <span v-else>
    禁用
    </span>
</p>
<p slot="operations"
   slot-scope="text, record,index"
   style="margin: 0">
    <a-button style="margin: 5px"
              size="small"
              title="修改"
              @click="editManage(record)">
        修改
    </a-button>
    <a-button v-if="record.status == '正常'"
              style="margin: 5px"
              @click="statusUpdate(record,'禁用')"
              size="small"
              title="禁用"
              ghost
              type="danger">
        禁用
    </a-button>
    <a-button v-else
              style="margin: 5px"
              size="small"
              title="启用"
              @click="statusUpdate(record,'正常')"
              ghost
              type="primary">
        启用
    </a-button>

    <a-button style="margin: 5px"
              size="small"
              title="删除"
              @click="deleteConfirm(record,index)"
              type="danger">
        删除
    </a-button>
</p>